package cn.wildfire.chat.kit.search;

import java.util.List;

import cn.wildfire.chat.kit.search.module.ConversationSearchModule;
import cn.wildfire.chat.kit.search.module.GroupSearchViewModule;

/**
*  Create by HEKE, 2019/9/7 12:15
*  TODO 搜索群组相关信息
*/
public class SearchGroupPortalActivity extends SearchActivity {

    @Override
    protected void afterViews() {
        super.afterViews();
        setSearchType(getIntent().getIntExtra("search_type", SearchActivity.TYPE_USER_SEARCH));
    }

    @Override
    protected void initSearchModule(List<SearchableModule> modules) {
        SearchableModule module = new GroupSearchViewModule();
        modules.add(module);
        module = new ConversationSearchModule();
        modules.add(module);
    }

}
